package com.kwok.rbac.application.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 部门表
 * </p>
 *
 * @author baomidou
 * @since 2024-05-24
 */
@TableName("it_department")
@Data
public class Department implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 部门编号
     */
    @TableId(value = "d_number", type = IdType.AUTO)
    private Integer dNumber;

    /**
     * 部门名称
     */
    //@TableField("d_name")
    private String dName;

    /**
     * 部门办公地点
     */
    //@TableField("d_location")
    private String dLocation;

}
